import axios from 'axios'
export default {
  async getEnters (warehouseID,page) {
    let result = await axios({
      url: '/api/warehouse/enter/' + warehouseID + '/' + page,
      method: 'get'
    })
    return result
  },
  async enterware (data){
    let result = await axios({
      url : '/api/warehouse/doenter',
      method: 'post',
      data: data
    })
    return result
  }
}
